<?php
namespace Home\Controller;
use Think\Controller;
class ShopcarController extends ShareController {
	public function _initialize(){
		parent::_initialize();
		parent::header();
	}
	//购物车页面显示
    public function shopcart(){
		$Shopcar = M('Ware_shopcar');
		
		$list = $Shopcar->where("order_id=0")->select();
		
		$this->assign('list',$list);
        $this->display();
    }
    
    
}
